package com.repair.rpc.config;

import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author chunyu
 * @since 2024/9/21,15:31
 */
@Configuration
@DubboComponentScan(basePackages = "com.repair")
@EnableDubbo
@EnableAspectJAutoProxy
public class DubboConfig {

    @Bean
    public FacadeAspect facadeAspect() {
        return new FacadeAspect();
    }

}
